//
//  RJWarningFather.h
//  AirQuality
//
//  Created by Po on 15/4/9.
//  Copyright (c) 2015年 Po. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol RJWarningFatherDeleaget <NSObject>
/**设置数据*/
- (void)WarningFatherSetData:(NSArray *)data;

/**设置用户编辑数据*/
- (void)WarningFatherSetUserData:(NSDictionary *)data;

/**返回所有表格*/
- (NSDictionary *)WarningFatherGetData;

/**即将移除*/
- (void)WarningFatherWillRemoveSelf;

@optional
/**点击了详情按钮*/
- (void)clickDetailButtonWithData:(NSDictionary *)data;

@end



@interface RJWarningFather : UIScrollView

@property (assign, nonatomic) id<RJWarningFatherDeleaget> fatherDelegate;
/**设置数据*/
- (void)setData:(NSArray *)data;

/**更新用户操作的数据*/
- (void)setUserData:(NSDictionary *)data;

/**获取数据*/
- (NSDictionary *)getData;

/**即将移除*/
- (void)WarningFatherWillRemoveSelf;

@end
